package com.game;

public class Screen 
{
	private enum State {Locked, Unlocked, Finished};
	
	private int m_ID;
	
	private int m_Points;
	private int m_MinTime;
	
	private State m_State;
	
	public Screen()
	{
		m_ID  = -1;
		m_Points = 0;
		m_MinTime = 0;
		m_State = State.Locked;
	}
	
	public Screen(int points, int time)
	{
		m_ID  = -1;
		m_Points = points;
		m_MinTime = time;
		m_State = State.Locked;
	}

	public void setPoints(int m_Points) {
		this.m_Points = m_Points;
	}

	public int getPoints() {
		return m_Points;
	}

	public void setMinTime(int m_MinTime) {
		this.m_MinTime = m_MinTime;
	}

	public int getMinTime() {
		return m_MinTime;
	}
	
	public State getState() 
	{
		return m_State;
	}

	public void setID(int m_ID) {
		this.m_ID = m_ID;
	}

	public int getID() {
		return m_ID;
	}

	public void Unlock()
	{
		m_State = State.Unlocked;
	}
	
}
